.class Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;
.super Ljava/lang/Object;
.source "DetailFileListAdapter.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->o()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 10

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->d:Ljava/util/concurrent/atomic/AtomicLong;

    const-wide/16 v1, 0x0

    invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->set(J)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->c:Ljava/util/SortedMap;

    invoke-interface {v0}, Ljava/util/SortedMap;->clear()V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->b:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v3, 0x0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    const/4 v5, 0x1

    .line 4
    iput-boolean v5, v4, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->a:Z

    .line 5
    instance-of v5, v4, Lcom/estrongs/android/pop/app/analysis/fragments/DuplicateFileListFragment$e;

    if-eqz v5, :cond_1

    .line 6
    move-object v5, v4

    check-cast v5, Lcom/estrongs/android/pop/app/analysis/fragments/DuplicateFileListFragment$e;

    iget-boolean v6, v5, Lcom/estrongs/android/pop/app/analysis/fragments/DuplicateFileListFragment$e;->d:Z

    if-eqz v6, :cond_0

    goto :goto_0

    .line 7
    :cond_0
    iget v5, v5, Lcom/estrongs/android/pop/app/analysis/fragments/DuplicateFileListFragment$e;->i:I

    goto :goto_1

    :cond_1
    add-int/lit8 v5, v3, 0x1

    move v9, v5

    move v5, v3

    move v3, v9

    .line 8
    :goto_1
    iget-object v6, v4, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    invoke-interface {v6}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v6

    cmp-long v8, v6, v1

    if-gtz v8, :cond_2

    move-wide v6, v1

    .line 9
    :cond_2
    iget-object v8, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v8, v8, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->c:Ljava/util/SortedMap;

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-interface {v8, v5, v4}, Ljava/util/SortedMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 10
    iget-object v4, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v4, v4, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->d:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v4, v6, v7}, Ljava/util/concurrent/atomic/AtomicLong;->addAndGet(J)J

    goto :goto_0

    .line 11
    :cond_3
    new-instance v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d$a;-><init>(Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$d;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Runnable;)V

    return-void
.end method
